<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    
    <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<!-- 新 Bootstrap 核心 CSS 文件 -->
<link href="http://cdn.static.runoob.com/libs/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
 
<!-- jQuery文件。务必在bootstrap.min.js 之前引入 -->
<script src="http://cdn.static.runoob.com/libs/jquery/2.1.1/jquery.min.js"></script>
 
<!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
<script src="http://cdn.static.runoob.com/libs/bootstrap/3.3.7/js/bootstrap.min.js"></script>
</head>
<body>
<table class="table table-bordered">
				<thead>
					<tr>
						<th>
							奖励
						</th>
						<th>
							奖励来源
						</th>
						<th>
							奖励时间
						</th>
					</tr>
				</thead>
				<tbody>
					<c:if test="${empty memjl}">
										<tr>
											<td>抱歉！无会员奖励信息</td>
										</tr>
									</c:if>
									<c:if test="${!empty memjl}">
										<c:forEach items="${memjl}" var="m">
											<tr>
												<td>${m.reward_num}${m.reward_unit}</td>
												<td>${m.reward_resource}</td>
												<td>${m.reward_time}</td>
											</tr>
										</c:forEach>
									</c:if>
				</tbody>
			</table>
</body>
</html>